package com.xmut.service;

import com.xmut.pojo.PurchaseRecord;

import java.util.List;

public interface PurchaseRecordService {
    List<PurchaseRecord> GetPurchaseRecord(Integer id);
    void InsertPurchaseRecord(PurchaseRecord purchaseRecord);
    List<PurchaseRecord> getAllRecordById(Integer userId);
    void delRecordById(Integer id);

    List<PurchaseRecord> getAllRecord();
}
